<?php

	$ip_add = $_SERVER['REMOTE_ADDR'];
	$host = $_SERVER['SERVER_NAME'];			
	
	if( $ip_add == '127.0.0.1' || $host == 'localhost' )
	{
		//LOCALHOST DATABSE
		define('DB_HOST','localhost');
		define('DB_TEST','ndh');
		define('DB_TEST_USER','root');
		define('DB_TEST_PASS','');	
	}	
	else 
	{
		//TEST DATABASE
		define('DB_HOST','ndhinvestors.com:2082');
		define('DB_TEST','ndhinves_test');
		define('DB_TEST_USER','ndhinves_test');
		define('DB_TEST_PASS','Ndh123456');
	}			
	
	
	
	
	
